package com.gxa.modules.payment.mapper;


import com.gxa.modules.payment.entity.Meter;
import com.gxa.modules.payment.form.MeterForm;
import com.gxa.modules.payment.util.Result;
import io.swagger.models.auth.In;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface MeterMapper {
    List<Meter> queryByPage(Map<String,Object> params);

    void addMeter(MeterForm meterForm);

    List<Meter> queryAll(Integer code);
    void updateMeter(MeterForm meterForm);

    void deleteMeter(Integer code);

    void deleteMeterIds(List<Integer> codes);

    Integer queryItemId(Integer code);
}
